﻿/* 
 * LogonOptions.cs
 * 
 * Author - Ankit Gupta and Gaurav Aggarwal
 * 
 * This file adds various components to Logon Options tab.
 * 
 */

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using System.Text;

class LogonOptions : TabPage
{
    LogonOptionsControl logonoptionsc = new LogonOptionsControl();

    public LogonOptions()
    {
        Location = new System.Drawing.Point(4, 22);
        Name = "Logon Options";
        Padding = new Padding(3);
        Size = new System.Drawing.Size(259, 37);
        Text = "Logon Options";

        Controls.Add(logonoptionsc.datagrid);
        Controls.Add(logonoptionsc.autoLoginCheckBox);
        Controls.Add(logonoptionsc.autoLoginLabel);
        Controls.Add(logonoptionsc.reportErrorsCheckBox);
        Controls.Add(logonoptionsc.reportErrorsLabel);
        Controls.Add(logonoptionsc.retryEveryLabel);
        Controls.Add(logonoptionsc.retryEveryTextBox);
        Controls.Add(logonoptionsc.retryEverySecLabel);
        Controls.Add(logonoptionsc.quitAfterLabel);
        Controls.Add(logonoptionsc.quitAfterTextBox);
        Controls.Add(logonoptionsc.quitAfterSecLabel);
        Controls.Add(logonoptionsc.logonScriptLabel);
        Controls.Add(logonoptionsc.logonScriptTextBox);
        Controls.Add(logonoptionsc.cellsLabel);
        Controls.Add(logonoptionsc.cellsTextBox);
        Controls.Add(logonoptionsc.updateButton);
        Controls.Add(logonoptionsc.removeButton);
        Controls.Add(logonoptionsc.preserveTokensCheckBox);
        Controls.Add(logonoptionsc.preserveTokensLabel);
        Controls.Add(logonoptionsc.newDomainLabel);
        Controls.Add(logonoptionsc.newDomainTextBox);
        Controls.Add(logonoptionsc.addButton);
        Controls.Add(logonoptionsc.applyButton);
        Controls.Add(logonoptionsc.cancelButton);
        Controls.Add(logonoptionsc.grpbox2);
        Controls.Add(logonoptionsc.grpbox1);
    }
}